pp108 : getName Method(Locale)

getName Method(Locale)


Returns the name of the locale. Refer to Locales for more information on the supported locales.

Syntax

localeObject.getName()

Parameters

NA

Return Value


Returns the name of the locale

Example


The following example displays how this method is used.

importType("wcp.library.util.LocaleFormat");

importType("wcp.library.util.Locale");

var localeObject = new Locale(sLocale, element);
localeObject.getName();

See Also


Locale, Locales